<template>
  <el-card style="height: 120px;width: 70%;margin: auto;margin-top: 60px;">
    <el-form :inline="true">
      <el-row :gutter="30">
        <el-col>
      <el-form-item label="手机号" style="width: 240px">
        <el-input placeholder="请输入手机号"></el-input>
      </el-form-item>
      <el-form-item label="学员姓名" style="width: 240px">
        <el-input placeholder="请输入学员姓名"></el-input>
      </el-form-item>
        <el-form-item label="使用时间" style="width: 270px">
          <el-date-picker
              type="datetimerange"
              range-separator="至"
              start-placeholder="开始日期"
              end-placeholder="结束日期"
              value-format="YYYY-MM-DD HH:mm:ss"
              format="YYYY-MM-DD HH:mm:ss"
          ></el-date-picker>
        </el-form-item>
      <el-form-item label="学校" style="width: 220px">
        <el-select placeholder="请选择">
          <el-option label="清华大学" value="0"></el-option>
          <el-option label="北京大学" value="1"></el-option>
          <el-option label="国防科技大学" value="2"></el-option>
        </el-select>
      </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="30">
        <el-col :span="20">
      <el-form-item style="margin: auto">
        <el-button type="primary">查询</el-button>
        <el-button>重置</el-button>
      </el-form-item>
        </el-col>
          <el-form-item>
            <el-button style="background-color: crimson;color: #fff;">创建账号</el-button>
          </el-form-item>
      </el-row>
    </el-form>
  </el-card>
<!--表格数据-->
  <el-card style="height: 120px;width: 70%;margin: auto;margin-top: 15px;">
    <el-table>
      <el-table-column type="index" label="ID" align="center" width="80"></el-table-column>
      <el-table-column prop="phone" label="手机号" align="center"></el-table-column>
      <el-table-column prop="school" label="学校" align="center"></el-table-column>
      <el-table-column prop="date" label="注册日期" align="center"></el-table-column>
      <el-table-column prop="remark" label="备注" align="center"></el-table-column>
      <el-table-column prop="operation" label="操作">
        <template #default="scope">
          <el-button type="primary" link >添加学员</el-button>
          <el-button type="primary" link >查看详情</el-button>
        </template>
      </el-table-column>
    </el-table>
  </el-card>
</template>

<script setup>

</script>

<style scoped>

</style>